Skip to content

fix(memory): fix ActionSkipCheck P0, data-driven JobMemoryPolicy, tick throttling, and schema registration - #27

Merged
mcocdaa merged 1 commit into
mainfrom
refactor/phase2-cleanup
Nov 23, 2026
Merged

mcocdaa merged 1 commit into
mainfrom
refactor/phase2-cleanup

Conversation

@mcocdaa

@mcocdaa mcocdaa commented Nov 23, 2026

Copy link
Copy Markdown
Collaborator

Phase 2 full-codebase cleanup & Water-Dispenser refactor verified locally across 1.6 & 1.7 builds and full test suite.

…k throttling, and schema registration

refactor: centralize job classification and harden memory lifecycle

Extract job classification into a data-driven JobMemoryPolicy with
runtime RegisterRule support, replacing the scattered blacklist,
whitelist, and importance maps in WorkSessionAggregator.

Other changes:
- Route trigger writes through MemoryTriggerHelper and publish
  MemoryChangedEvent on decay, dark-memory, and manual edits
- Register DarkMemoryOutput schema via RimMindAPI.Context and fall
  back to a local schema constant
- Stagger dark-memory updates on 250-tick slots and guard async
  callbacks against stale world components
- Fix TimeFormatter to use the event tick for older history dates
- Replace archive-to-dark spill with TrimToLimit and return removed
  counts from ImportanceDecayManager.ApplyDecay
- Use RimMindOwnerConsts for extension metadata; stop Memory from
  vetoing actions via skip check
- Add TrOr fallbacks across settings, UI, and trigger text
- Update deploy scripts for multi-version builds and runtime DLL
  exclusions; drop in-csproj deploy target
- Expand contract tests for policy, decay counts, and store limits
@mcocdaa
mcocdaa merged commit 3988ce1 into main Nov 23, 2026
1 check passed
@mcocdaa
mcocdaa deleted the refactor/phase2-cleanup branch November 23, 2026 06:10
@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant